<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>

<div id="explanation">
<h3><span><fmt:message key="data.author_info"/></span></h3>
<fieldset>
	<legend><fmt:message key="data.author_info"/></legend>
	<form:form action="../editAuthor" method="POST" modelAttribute="author">
		<form:hidden path="id_autor"/>
	
		<form:label path="nombre" for="nombre" cssErrorClass="error"><fmt:message key="general.name"/>: </form:label><br/>
		<form:input path="nombre"/><form:errors path="nombre"/><br/>

		<form:label path="apellidos" for="apellidos" cssErrorClass="error"><fmt:message key="general.surname"/>: </form:label><br/>
		<form:input path="apellidos"/><form:errors path="apellidos"/><br/>

		<input type="submit"/>

	</form:form>

</fieldset>
</div>